package cn.com.fig.common;

 
import org.apache.commons.codec.digest.DigestUtils;
public class StringMd5Util {
	public static String GetMd5StrInfo(String password){
		String returnStr="";
		returnStr=password+"C6AA8D0C981D4B34920621B7E4C17B17AAA6BBA1E53D4C398679AEAF6CB93123";
		//进行md5加密处理
		returnStr=DigestUtils.md5Hex(returnStr).toUpperCase();		
		return returnStr;
		
	}
	
	public static String getSexLengPasswrod(){
		return String.valueOf((int)((Math.random()*9+1)*100000));//生成6位随机数密码
	}
}
